package com.mayikt.service;

import com.alibaba.fastjson.JSONObject;
import com.mayikt.base.BaseResponse;
import com.mayikt.dto.req.UserReqRegisterDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Name MemberRegisterService
 * @Author 枫火
 * @Date 2021/4/21 16:33
 * @Description
 **/
@Api(tags = "会员注册服务接口")
@ApiModel
public interface MemberRegisterService {

    /**
     * 会员注册接口
     * @param userReqRegisterDto
     * @return
     */
    @PostMapping("/register")
    BaseResponse<JSONObject> register(@RequestBody UserReqRegisterDTO userReqRegisterDto);
}
